<include file="System:leftmenu" />
<div class="content-right fl">
 
    <h1 class="content-right-title">微信支付<a class="gicon-info-sign gicon_linkother" href="http://kf.qq.com/faq/120911VrYVrA150905zeYjMZ.html" target="_blank"></a></h1>

<form action="" id="form" method="POST" enctype="multipart/form-data">
		<div class="formitems">  
			<label class="fi-name"><span class="colorRed">*</span>APPID：</label>
			<div class="form-controls">
				<input type="text" class="input xxlarge" name="WECHAT_APPID" value="<?php echo C("WECHAT_APPID");?>" >
				<span class="fi-help-text">微信公众号身份的唯一标识</span>
			</div>
		</div>
		<div class="formitems">  
			<label class="fi-name"><span class="colorRed">*</span>APPSECRET：</label>
			<div class="form-controls">
				<input type="text" class="input xxlarge" name="WECHAT_APPKEY"  value="<?php echo C("WECHAT_APPKEY");?>" >
				<span class="fi-help-text">审核后在公众平台开启开发模式后可查看</span>
			</div>
		</div>
		<div class="formitems">  
			<label class="fi-name"><span class="colorRed">*</span>TOKEN：</label>
			<div class="form-controls">
				<input type="text" class="input xxlarge" name="WECHAT_TOKEN" value="<?php echo C("WECHAT_TOKEN");?>" >
				<span class="fi-help-text">微信公众号身份验证token</span>
			</div>
		</div>
        <div class="formitems">
            <label class="fi-name"><span class="colorRed">*</span>接口url：</label>
            <div class="form-controls">
                <input type="text" class="input xxlarge" value="<?php echo get_domain().'/mobile/weixin/rukou';?>" disabled>
                <span class="fi-help-text">开发者模式url。请登录<a href="https://mp.weixin.qq.com">微信公众平台</a>，在【开发者模式】中设置。</span>
            </div>
        </div>
		<div class="formitems">  
			<label class="fi-name"><span class="colorRed">*</span>MCHID：</label>
			<div class="form-controls">
				<input type="text" class="input xxlarge" name="WECHAT_MCHID"  value="<?php echo C("WECHAT_MCHID");?>" >
				<span class="fi-help-text">微信支付商户号，审核通过后，在微信发送的邮件中查看。</span>
			</div>
		</div>
        <div class="formitems">
            <label class="fi-name"><span class="colorRed">*</span>支付KEY：</label>
            <div class="form-controls">
                <input type="text" class="input xxlarge" name="WECHAT_PAYKEY"  value="<?php echo C("WECHAT_PAYKEY");?>" >
                <span class="fi-help-text">商户支付密钥Key。请登录<a href="https://pay.weixin.qq.com">微信支付商户平台</a>，在【账户设置-安全设置-API安全】中设置。</span>
            </div>
        </div>
        <div class="formitems">
            <label class="fi-name"><span class="colorRed">*</span>公众号账号：</label>
            <div class="form-controls">
                <input type="text" class="input xxlarge" name="WECHAT_ID"  value="<?php echo C("WECHAT_ID");?>" >
                <span class="fi-help-text">公众号账号</span>
            </div>
        </div>
        
    <div class="formitems">
        <label class="fi-name">公众号二维码：</label>
	    <div class="form-controls pdt5 j-imglistPanel">

    <div id="uploadPic">
      <ul id="uploadlist" style=" height:90px; overflow:hidden;">
	        <li>
	          <div class="displayimg"><img width="80px" height="80px"  src="<?php echo C("UPYUN_DOMAIN");?><?php echo C("WECHAT_QRCODE");?>" onerror="javascript:this.src='__STATIC__admin/images/error.png';"/></div>
	        </li>
      </ul>
      <div style="clear:both;"></div>
    </div>
	        <span class="fi-help-text">图片可从公众号后台下载</span>
	    </div>
    </div>
    
    <div class="formitems">
        <label class="fi-name">选择二维码图片上传：</label>
        <div class="form-controls">
            <input type="file" class="input" name="pic" value="上传">
            <span class="fi-help-text"></span>
        </div>
    </div>
        
		<div class="mgl120">
			<a href="javascript:$('#form').submit();" class="btn btn-primary j-add">保 存</a>
		</div>
	</form>
	
</div>